package com.yvtian.om.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (om_order_shop)表实体类
 *
 * @author long
 * @since 2024-05-27 08:58:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "om_order_shop")
public class OmOrderShopEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 主表编码
     */
    @TableField(value = "order_code")
    private String orderCode;
    /**
     * 商品编码
     */
    @TableField(value = "shopCode")
    private String shopCode;
    /**
     * 商品名称
     */
    @TableField(value = "shopName")
    private String shopName;
    /**
     * BOM编码
     */
    @TableField(value = "bomCode")
    private String bomCode;
    /**
     * 是否生成BOM：0为生成，1未生成
     */
    @TableField(value = "is_bom")
    private Integer isBom;
    /**
     * BOM名称
     */
    @TableField(value = "bomName")
    private String bomName;
    /**
     * 商品Id
     */
    @TableField(value = "shopId")
    private Integer shopId;
    /**
     * 数量
     */
    @TableField(value = "count")
    private Integer count;
    /**
     * 单位
     */
    @TableField(value = "unit")
    private String unit;
    /**
     * 单价
     */
    @TableField(value = "price")
    private BigDecimal price;
    /**
     * 费用
     */
    @TableField(value = "amount")
    private BigDecimal amount;
    /**
     * 税率
     */
    @TableField(value = "tax")
    private BigDecimal tax;
    /**
     * 不含税单价
     */
    @TableField(value = "un_price")
    private BigDecimal unPrice;
    /**
     * 不含税费用
     */
    @TableField(value = "un_amount")
    private BigDecimal unAmount;
    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;


}

